package com.kuang.design.creation.builder;

public class XiaoMiLinkBuilder extends AbstractLinkBuilder {

    public XiaoMiLinkBuilder() {
        phone = new Phone();

    }

    @Override
    AbstractLinkBuilder customCpu(String cpu) {
        phone.cpu = cpu;
        return this;
    }

    @Override
    AbstractLinkBuilder customMem(String mem) {
        phone.mem = mem;
        return this;
    }

    @Override
    AbstractLinkBuilder customDisk(String disk) {
        phone.disk = disk;
        return this;
    }

    @Override
    AbstractLinkBuilder customCam(String cam) {
        phone.cam = cam;
        return this;
    }
}
